package top.v5it.japi.ddd.example.order.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import top.v5it.japi.ddd.core.entity.Entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author zhanpu
 * @date 2023/10/26
 */
@Getter
@Setter
@Accessors(chain = true)
public class Order extends Entity<Long> {
    private static final long serialVersionUID = 8729279807917119417L;
    private Long id;
    private Long member_id;
    private LocalDateTime order_date;
    private BigDecimal total_amount;
    private List<OrderDetail> order_details;
}
